import { http } from '@/utils/axios'
// 用户登录
export default {
  // 用户登录
  login: (params) => {
    return http.post('user/login', params,{logType: 1})
  },
  // 用户登出
  logout: (params) => {
    return http.post('user/logout', params)
  },
}